// 引入mockjs模块
import Mock from 'mockjs'
//引入需要的JSON数据格式
import banner from './banner.json';
import floor from './floor.json';

// mock数据
// 参数1 请求的地址，参数2请求的数据
Mock.mock("/mock/banner", { code: 200, data: banner })
Mock.mock("/mock/floor", { code: 200, data: floor })